Arduino Clapperboard
In my free time I like to play with arduino and create some basic projects, one of the projects that I did for one of my hobbies (Filmmaking) was a clapperboard, check the instructable here, you can check the arduino code there too.